﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VR.Model
{
    /// <summary>
    ///  手机号码模型
    /// </summary>
    public class CellSMSParam
    {
        /// <summary>
        ///  手机号码
        /// </summary>
        [Required(ErrorMessage = "手机号码不能为空！")]
        [RegularExpression("^(13[0-9]|14[01456879]|15[0-35-9]|16[2567]|17[0-8]|18[0-9]|19[0-35-9])\\d{8}$", ErrorMessage = "请输入正确的手机号！")]
        public string phone { get; set; }
        /// <summary>
        ///  短信提示标题
        /// </summary>
        public string appName { get; set; } = "度度圈";
        /// <summary>
        ///  类别 【0=注册（默认）；1=重置密码】
        /// </summary>
        public int type { get; set; }
        /// <summary>
        ///  产品类别 【VCircle=度度圈（默认），VMeta=元宇宙】
        /// </summary>
        public string proType { get; set; } = "VCircle";
    }
}